package wei.xinya.spring.service.impl;

import org.springframework.stereotype.Component;
import wei.xinya.spring.service.MyService;

@Component
public class MyServiceImpl implements MyService {

    @Override
    public void doSome() {
        System.out.println("业务方法：doSome()");
    }

    @Override
    public String doOther() {
        System.out.println("业务方法：doOther()");
        return "result";
    }

}
